home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 121_01 / files.doc < prev    next >
Text File  |  1985-08-19  |  2KB  |  67 lines

  1.  
  2.      FILES (2)                 BDS C Users' Group                 FILES (2)
  3.  
  4.  
  5.  
  6.      NAME        NAME 
  7.           files - functions for handling ambiguous filenames in CP/M 
  8.  
  9.      SYNOPSIS        SYNOPSIS 
  10.           filelist               filelist() 
  11.           nameok               nameok() 
  12.           pickout               pickout() 
  13.  
  14.      DESCRIPTION        DESCRIPTION 
  15.           ________                                                      filelist() converts ambiguous file descriptors to 
  16.           unambiguous file descriptors.  
  17.  
  18.           ______                                                            nameok() takes an input file descriptor (ambiguous or 
  19.           unambiguous) and creates a list of unambiguous file 
  20.           descriptors in the supplied table.  
  21.  
  22.           _______                                                   pickout() extracts the name from a CP/M fcb.  
  23.  
  24.      CAVEATS        CAVEATS 
  25.           These functions were tested with v1.50 of the BDS C compiler 
  26.           under CP/M 2.2.  They should work with other versions of BDS 
  27.           C and CP/M, but have not been tested.  
  28.  
  29.      NOTES        NOTES 
  30.           These functions are used by several programs on this disk, 
  31.           including SDIR and ZDIR.  See the code for the parameters 
  32.           required.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                       -1-
  66.  
  67. _____                                                      filelist() converts ambiguous file descriptors t